package com.aos.erp.gov.ex.model;

import com.aos.erp.gov.ex.enums.GovConfigType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@TableName("T_GOV_EX_CONFIG_ITEM")
public class GovExConfigItem implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.INPUT)
    private long id;


    @ApiModelProperty("配置主id")
    @TableField("parent_id")
    private long parentId;


    @ApiModelProperty("配置的类型")
    @TableField("parent_type")
    private GovConfigType parentType = GovConfigType.manual;


    @ApiModelProperty("项类型")
    @TableField("item_type")
    private int itemType;


    @ApiModelProperty("项名")
    @TableField("item_name")
    private String itemName;


    @ApiModelProperty("项值")
    @TableField("item_value")
    private String itemValue;


    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private Date updateTime;


}
